<script type="text/javascript" src="js/jquery/jquery.js"></script>
<script type="text/javascript" src="js/jquery/jquery.meio.mask.js" charset="utf-8" ></script>
<script type="text/javascript" src="js/jquery/jquery.validate.js" charset="utf-8" ></script>
<script type="text/javascript" src="js/form/validations.js" charset="utf-8" ></script>
<link rel="stylesheet" type="text/css" media="screen" href="css/validations.css" /><div class="clear"></div>
<div class="grid_10">
	<div class="box round first fullpage">
   		<h2>Formulario de Datos</h2>  
       	<div class="block ">
           	<form id="formprovincias" method="post" action="provincias.php">
           		<input type="hidden" id="action" name="action" value="save"/> 
           		<input type="hidden" id="id" name="id" value="{$provincias.id}"/> 
           		<table class="form">
						<tr>
						<td><label>Provincia:</label></td>
						<td><input type="text" id="provincia" name="provincia" value="{$provincias.provincia}" class="required" {if $provincias.codigo != null} readonly="readonly" {/if} /></td>
					</tr>
					<tr>
						<td><label>Abreviada:</label></td>
						<td><input type="text" id="provincia2" name="provincia2" value="{$provincias.provincia2}" class="required" {if $provincias.codigo != null} readonly="readonly" {/if} /></td>
					</tr>
					<tr>
						<td class="button" colspan="2"><br><br>
							<input type="submit" class="save btn btn-grey" value="Guardar cambios" />
							<input type="button" value="Cancelar" class="btn btn-grey" onclick="goToPage('provincias.php');" />
						</td>
					</tr>  		
				</table>
			</form>
		</div>
	</div>
</div>